object := hello.o
object += main.c

main: $(object)
	gcc $^ -o $@
#	./main
#	rm -f *.o main

hello.o: hello.c hello.h
	gcc -c hello.c -o hello.o

.PHNOY: clean

clean:
	rm *.o
	rm main